package com.yunxin.core.application.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunxin.core.application.command.page.WeightPageCommand;
import com.yunxin.core.domain.model.weight.SysUserWeight;
import com.yunxin.core.domain.model.weight.SysUserWeightDto;
import com.yunxin.core.domain.model.weight.SysWeightDelete;

import java.util.List;

/**
* @author Administrator
*/
public interface SysUserWeightService extends IService<SysUserWeight> {

    IPage<SysUserWeight> getUserWeightPage(WeightPageCommand command);

    Boolean saveUserWeigh(SysUserWeightDto command);

    Boolean editUserWeigh(SysUserWeightDto command);

    Boolean deleteUserWeight(SysWeightDelete command);

    Boolean weightSwitch(SysUserWeight weight);

    List<SysUserWeight> getUserWeightList(Long merchantId);

}
